import { configureStore } from '@reduxjs/toolkit';
import ballsSlice from './balls/balls.slice';
import  userRegistrationSlice  from './auth/registration.slice';
import { saveStorage } from './storage';

export const store = configureStore({
	reducer: {balls: ballsSlice, registration: userRegistrationSlice}
});



export type RootState = ReturnType<typeof store.getState>;
export type AppDispatch = typeof store.dispatch;
